projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ee1dee
)
If we're going to send rootpath, better send an absolute one
author
João Távora
<joaotavora@gmail.com>
Sat, 19 May 2018 09:24:18 +0000
(10:24 +0100)
committer
João Távora
<joaotavora@gmail.com>
Sat, 19 May 2018 09:24:18 +0000
(10:24 +0100)
javascript-typescript-langserver complained.
* eglot.el (eglot--connect): Use expand-file-name.
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 5542902f743ba4647ffb6a65c36e4b4669ac134d..981029071a89b1a858979fbcd307ba09a46a56e6 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-273,7
+273,8
@@
INTERACTIVE is t if inside interactive call."
'network)
(emacs-pid))
:capabilities(eglot--client-capabilities)
- :rootPath (car (project-roots project))
+ :rootPath (expand-file-name
+ (car (project-roots project)))
:rootUri (eglot--path-to-uri
(car (project-roots project)))
:initializationOptions []))